package com.qtt.app.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class RegisteredCourse {
    private Integer id;

    private String courseId;

    private Integer teacherId;

    private Long userId;

    private Long staff;

    private Integer status;

    private Integer peopleNum;

    private Integer version;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date gmtCreate;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date gmtModified;

    public RegisteredCourse(Integer id, String courseId, Integer teacherId, Long userId, Long staff, Integer status, Integer peopleNum, Integer version, Date gmtCreate, Date gmtModified) {
        this.id = id;
        this.courseId = courseId;
        this.teacherId = teacherId;
        this.userId = userId;
        this.staff = staff;
        this.status = status;
        this.peopleNum = peopleNum;
        this.version = version;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }

    public RegisteredCourse() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getStaff() {
        return staff;
    }

    public void setStaff(Long staff) {
        this.staff = staff;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPeopleNum() {
        return peopleNum;
    }

    public void setPeopleNum(Integer peopleNum) {
        this.peopleNum = peopleNum;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}